// web端样式
.web-container {
    .indexBanner {
        width: 100%;
        height: 560px;
    }

    .section_content {

        // 百家姓智能查找
        .searchModel {
            width: 100%;
            display: flex;
            height: 684px;
            justify-content: space-between;

            .leftNameBox {
                width: 1049px;
                background-color: #FFFFFF;
                border-radius: 20px;
                padding: 50px 50px;
                box-sizing: border-box;

                .scrollable-container{
                    width: 100%;
                    height: 100%;
                    overflow: auto;

                    .name {
                        display: flex;
                        flex-wrap: wrap;
    
                        .nameItem {
                            width: calc(100% / 6);
                            height: 50px;
                            font-weight: 500;
                            font-size: 25px;
                            line-height: 50px;
                            color: #555555;
                            text-align: center;
                            box-sizing: border-box;
                        }
    
                        .nameItem:hover{
                            cursor: pointer;
                            background-color: #202020;
                            color: #FFFFFF;
                        }
                    }
                }
            }

            .rightSearchBox {
                width: 531px;
                background-color: #FFFFFF;
                border-radius: 20px;
                padding: 50px;
                box-sizing: border-box;

                .searchBox {
                    display: flex;
                    margin-bottom: 30px;

                    :deep .el-input__inner {
                        width: 100%;
                        height: 50px;
                        background: #ffffff;
                        box-shadow: 0px 4px 13px 0px rgba(0, 0, 0, 0.04);
                        border-radius: 0px 0px 0px 0px;
                    }

                    .searchBottom {
                        width: 112px;
                        height: 50px;
                        background: #870c08;
                        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
                        border-radius: 0px 0px 0px 0px;
                        font-weight: 500;
                        font-size: 16px;
                        color: #ffffff;
                        text-align: center;
                        line-height: 50px;
                        cursor: pointer;
                    }
                }

                .letterBox {
                    margin: 28px 0px 18px;
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    gap: 39px;


                    .activeLetterItem {
                        height: 36px;
                        background: #870c08;
                        border-radius: 4px 4px 4px 4px;
                        font-weight: bold;
                        font-size: 26px;
                        color: #ffffff;
                        text-align: center;
                        line-height: 36px;
                        cursor: pointer;
                    }

                    .letterItem {
                        height: 36px;
                        text-align: center;
                        font-weight: bold;
                        font-size: 26px;
                        line-height: 36px;
                        color: #202020;
                        cursor: pointer;
                    }
                }
            }
        }

        // 热搜姓氏
        .HotPage {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 46px;

            .BoxItem {
                width: 160px;
                height: 160px;
                background: #FFFFFF;
                border-radius: 20px;
                padding: 24px 40px;
                box-sizing: border-box;
                font-weight: 500;
                font-size: 80px;
                color: #444444;
            }
        }

        // 历史名人
        .swiper-container-historyBox {

            .historyItem {
                width: 371px;
                height: 448px;
                background-color: #ffffff;
                border-radius: 20px;
                box-sizing: border-box;

                .topImg {
                    width: 371px;
                    height: 326px;
                }

                .name {
                    font-weight: 500;
                    font-size: 26px;
                    color: #202020;
                    text-align: center;
                    line-height: 120px;
                }
            }
        }
    }
}

// mobile端样式
.mobile-container {
    .indexBanner {
        width: 100%;
    }

    .section_content {

        // 百家姓智能查找
        .searchModel {
            display: flex;
            flex-direction: column-reverse;

            .rightSearchBox {
                .searchBox {
                    width: 100%;
                    display: flex;

                    :deep .el-input__inner {
                        border-radius: 4px 0px 0px 4px;
                    }

                    .searchBottom {
                        width: 58px;
                        height: 40px;
                        background: #870C08;
                        border-radius: 0px 4px 4px 0px;
                        font-weight: 500;
                        font-size: 14px;
                        color: #FFFFFF;
                        line-height: 40px;
                        text-align: center;
                    }
                }

                .letterBox {
                    margin: 18px 0px 16px;
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    gap: 19px;


                    .activeLetterItem {
                        height: 29px;
                        background: #870c08;
                        border-radius: 4px 4px 4px 4px;
                        font-weight: bold;
                        font-size: 18px;
                        color: #ffffff;
                        text-align: center;
                        line-height: 29px;
                        cursor: pointer;

                        .zhuyin {
                            font-weight: bold;
                            font-size: 12px;
                            color: #ffffff;
                            text-align: center;
                        }
                    }

                    .letterItem {
                        height: 29px;
                        text-align: center;
                        font-weight: bold;
                        font-size: 18px;
                        line-height: 29px;
                        color: #202020;
                        cursor: pointer;

                        .zhuyin {
                            font-weight: bold;
                            font-size: 12px;
                            line-height: 29px;
                            color: #202020;
                        }
                    }
                }
            }

            .leftNameBox {
                background-color: #FAFAFA;
                border-radius: 10px;
                padding: 16px 16px;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                flex-wrap: wrap;

                .scrollable-container{
                    width: 100%;
                    height: 100%;
                    overflow: auto;

                    .name {
                        display: flex;
                        flex-wrap: wrap;
    
                        .nameItem {
                            width: calc(100% / 6);
                            height: 50px;
                            font-weight: 500;
                            font-size: 14px;
                            line-height: 50px;
                            color: #555555;
                            text-align: center;
                            box-sizing: border-box;
                        }
    
                        .nameItem:hover{
                            cursor: pointer;
                            background-color: #202020;
                            color: #FFFFFF;
                        }
                    }
                }
            }

        }

        // 热搜姓氏
        .HotPage {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 10px;

            .BoxItem {
                width: 44px;
                height: 44px;
                background: #FAFAFA;
                border-radius: 10px;
                padding: 8px 12px;
                box-sizing: border-box;
                font-weight: 500;
                font-size: 20px;
                color: #444444;
            }
        }

        // 历史名人
        .swiper-container-historyBox {

            .historyItem {
                width: 120px;
                height: 140px;
                background-color: #FAFAFA;
                border-radius: 10px;
                box-sizing: border-box;

                .topImg {
                    width: 100%;
                }

                .name {
                    font-weight: 500;
                    font-size: 14px;
                    color: #202020;
                    text-align: center;
                    // line-height: 120px;
                }
            }
        }
    }
}

// ipad端样式
.ipad-container {}